package com.kedacom.emptyproject.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * 指令任务日历
 */
data class ResultData(
    val list: List<ResultBean>,
    val total: Int
) {
    override fun toString(): String {
        return "ScheduleData(list=$list, total=$total)"
    }
}
//{
//    "total": 929,
//    "list": [
//    {
//        "scheduleDate": 2022-03-06,
//        "color": blue
//    }
//    ],
//}



/**
 * 任务信息
 */
@Parcelize
data class ResultBean(
    val color: String,
    val scheduleDate: String
) : Parcelable {
    override fun toString(): String {
        return "ScheduleBean(color='$color', scheduleDate='$scheduleDate')"
    }
}
//{
//    "scheduleDate": 2022-03-06,
//    "color": blue
//}
